PREVIEW: Today, you'll be writing a program that compares theoretical and experimental probability!

    • Click Run to see the results of this experiment. The spinner will run 40 times.
    • Change the value of num_experiments to 16 and run the experiment. Then, change the value to 160.
    • Click Submit and Next to move on.

    To navigate the page using the TAB key, first press ESC to exit the code editor.

    # THIS ACTIVITY IS IN PREVIEW ONLY MODE
    • Run Code
    • Submit Work
    • Next Activity
    • Show Console
    • Reset Code Editor
    • Codesters How To (opens in a new tab)